<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=1000, initial-scale=1.0, maximum-scale=1.0">
	    <!-- Loading Bootstrap -->
	    <link href="{{__PUBLIC__}}/Admin/Flat/dist/css/vendor/bootstrap.min.css" rel="stylesheet">
	    <!-- Loading Flat UI -->
	    <link href="{{__PUBLIC__}}/Admin/Flat/dist/css/flat-ui.css" rel="stylesheet">
	    <link href="{{__PUBLIC__}}/Admin/Flat/docs/assets/css/demo.css" rel="stylesheet">
	    <link rel="shortcut icon" href="{{__PUBLIC__}}/Admin/Flat/img/favicon.ico">

	    <script src="{{__PUBLIC__}}/Home/js/jquery-1.7.2.min.js" type="text/javascript" charset="utf-8"></script>
		<link rel="stylesheet" type="text/css" href="{{__PUBLIC__}}/Home/js/hdjs.css"/>
		<script src="{{__PUBLIC__}}/Home/js/hdjs.min.js" type="text/javascript" charset="utf-8"></script>
	    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
	    <!--[if lt IE 9]>
	      <script src="dist/js/vendor/html5shiv.js"></script>
	      <script src="dist/js/vendor/respond.min.js"></script>
	    <![endif]-->
	</head>
	<body>
		<form action="" method="post"  onsubmit="return hd_submit(this,'{{U('TypeAttr/add')}}','{{U('TypeAttr/index',array('tid'=>$tid))}}')">
			<div class="alert alert-success">添加 {{$typeData['tname']}} 属性</div>
			<div class="form-group">
				<label for="exampleInputEmail1">属性名称</label>
				<input id="exampleInputEmail1" class="form-control" type="text" placeholder="请输入属性名称" required="" name="taname">
			</div>
			<div id="">
				<label for="">属性类别</label>
				<br />
				<div class="radio" style="margin-top:0px;border:2px solid #BDC3C7;border-radius: 6px;">
					<label class="checkbox checkbox-inline">
					    <input type="radio" name="class" value="1" checked="checked">属性
					</label><br>
					<label class="checkbox checkbox-inline">
					    <input type="radio" name="class" value="2">规格
					</label>
				</div>
			</div>
			
			<div class="form-group">
				<label for="exampleInputEmail1">属性值 </label>
				<textarea name="tavalue" rows="5" cols=""  class="form-control" placeholder="请输入属性值(多个值用 竖线 | 分隔)"></textarea>
			</div>
			<input type="hidden" name="type_tid" value="{{$tid}}">
			<button class="btn btn-primary btn-block" type="submit" style="background:#0054CC;"> 添加属性 </button>
		</form>
	</body>
</html>
